<h3> Commandes </h3>

<? foreach($elements as $element){
	print_r($element);
	switch($element->type){
		case "strip_led": 
			$view->extend('DomotiqueBundle:Commandes:strip_led.html.php');
			break;
		case "relay":
			
			break;
	}
}?>